<template>
<div>
  <Modal v-model="modal.visible" :title="modal.title" footer-hide width="1000px">
  </Modal>
</div>
</template>
<script>
export default {
  name: "UserAuthorization",
  data() {
    return {
      // 模态框属性
      modal: {
        title: "",
        visible: false
      },
    }
  },
  mounted() {
  },
  methods: {

      /**
       * 显示模态框
       * @param  {string} title 模态框标题名称
       * @param  {object} row 当前行数据
       */
      handleModal(title, row) {

          this.modal = {
            title: title,
            visible: true
          };
      }

  }
};
</script>
<style lang="postcss" scoped>
</style>
